<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TPMinWeb</title>
<style type="text/css">
span.danyuan_r {display:block;float:left;width:50%;font-size:12px;text-align:right;}
span.danyuan_l {display:block;float:left;width:30%;font-size:12px;text-align:left;}
span.danyuan_ll {display:block;float:left;width:15%;font-size:12px;text-align:left;}
div.hang {display:block;float:left;color:#666;  width:98%;}
</style>

</head>

<body>
<form name="form1" action="{:U('Index/setcon')}" method="post">
<div style="text-align:center;">
<div style="height:28;">TPMinWeb安装向导</div>
    <div style="color:#666; width:573; MARGIN-RIGHT: auto; MARGIN-LEFT: auto;">
        <span style="display:block;float:left;width:20%;font-size:12px;">1. 许可协议</span>
        <span style="display:block;float:left;width:25%;font-size:12px;">2. 环境检测</span>
        <span style="display:block;float:left;width:25%;font-size:12px;color:#FF0000;">3. 安装设置</span>
        <span style="display:block;float:left;width:25%;font-size:12px;">4. 安装完成</span>
    </div>
<h3>TPMinWeb安装设置</h3>
<div class="hang">
<h5>数据库设置</h5>
</div>
<div class="hang">
	<span class="danyuan_r">mysql主机地址： </span>
	<span class="danyuan_l"><input name="db_host" type="text" id="db_host"></span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">mysql用户名： </span>
	<span class="danyuan_l"><input name="db_user" type="text" id="db_user">*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">mysql数据库名：</span>
	<span class="danyuan_l"><input name="db_name" type="text" id="db_name">*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">mysql数据库密码：</span>
	<span class="danyuan_l"><input name="db_pwd" type="text" id="db_pwd">*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">mysql数据库端口：</span>
	<span class="danyuan_l"><input name="db_port" type="text" id="db_port"></span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">表前缀：</span>
	<span class="danyuan_l"><input name="db_prefix" type="text" id="db_prefix">*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
<h5>管理账号设置</h5>
</div>
<div class="hang">
	<span class="danyuan_r">管理员账号：</span>
	<span class="danyuan_l"><input name="username" type="text" id="username" />*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">密码：</span>
	<span class="danyuan_l"><input name="password" type="password" id="password" />*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>  
<div class="hang">
	<span class="danyuan_r">确认密码：</span>
	<span class="danyuan_l"><input name="repassword" type="password" id="repassword" />*</span>
	<span class="danyuan_ll">&nbsp; </span>
</div>
<div class="hang">
	<span class="danyuan_r">&nbsp;</span>
	<span class="danyuan_l">&nbsp;</span>
	<span class="danyuan_ll">&nbsp;</span>
</div>
<div style="text-align:center;"><h5> 
    <input id="check" type="button" name="backcheck"  style="width:120px;height:30px;" value="上一步" onClick="window.location.href='{:U('Index/check')}'">
    <input type="submit" name="Submit" value="安装" style="width:120px;height:30px;">
</h5>
</div></div>
</form>
</body>
</html>
